@echo off
echo ========================================
echo 重新编译项目以修复依赖问题
echo ========================================

echo 1. 清理项目...
call mvn clean

echo 2. 编译ruoyi-homepage模块...
call mvn compile -pl ruoyi-homepage

echo 3. 安装ruoyi-homepage到本地仓库...
call mvn install -pl ruoyi-homepage -DskipTests

echo 4. 编译整个项目...
call mvn compile

echo 5. 打包项目...
call mvn package -DskipTests

echo ========================================
echo 编译完成！
echo ========================================
pause
